@CHARSET "UTF-8";

/**
 * @file typography.css
 * Typography styles for Nitobe.
 *
 * $Id: typography.css,v 1.1.2.2 2009/08/01 17:58:31 shannonlucas Exp $
html {
        font-size : 20px;
    }
    @media only screen and (min-width: 641px){
        html {
            font-size: 16px;
        }
    }
 */

body {
  background: #fff;
  color: #222;
  font: 300 1rem/1.5 "Noto Sans CJK SC", "Hiragino Sans GB", "Microsoft Yahei", "Helvetica Neue", Helvetica, Arial, FreeSans, 
        "Liberation Sans", sans-serif;
}

em, em .popup { 
	border-bottom: 5px solid rgb(255,119,51);
	font-style: normal;
}


/* ****************************************************************************
 * Headings
 * ************************************************************************* */
h1, h2, h3, h4, h5, h6 {
  color: #111;
  font-weight: normal;
}

h1 {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 0.5rem;
}

h2 {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.6rem;
  line-height: 1;
  margin-bottom: 1rem;
}

h4 {
  font-size: 1.4rem;
  line-height: 1.25;
  margin-bottom: 1.25rem;
}

h5 {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

h6 {
  font-size: 1.1rem;
  font-weight: bold;
}

h1 img, h2 img, h3 img, h4 img, h5 img, h6 img { margin: 0; }


/* ****************************************************************************
 * Text elements
 * ************************************************************************* */
p { margin: 0 0 1.5rem; }

a:focus, a:hover { color: #000; }

a {
  color: #009;
  text-decoration: underline;
}

big, .large {
  font-size: 1.4rem;
  line-height: 2.5rem;
  margin-bottom: 1.25rem;
}

b, strong { font-weight: bold; }

dfn, i { text-decoration: underline; font-style: normal; }

dfn { font-weight: bold; }

sup, sub { line-height: 0; }

abbr, acronym { 
  border-bottom: 1px dotted #666;
  font-size: 0.85rem;
  letter-spacing: .1rem;
  text-transform: uppercase;
}

abbr[title], acronym[title], dfn[title] {
  border-bottom: 1px dotted #666;
  cursor: help;
}

address {
  font-style: italic;
  margin: 0 0 1.5rem;
}

del	{
  background: #ffcccc;
  color: #666;
  padding: 0 0.25rem;
  text-decoration: strikethrough;
}

ins {
  background: #c7f2c8;
  color: #000;
  padding: 0 0.25rem;
}

pre {
  margin: 1.5rem 0;
  white-space: pre;
}

code, kbd, pre, samp, tt, var {
  font: 1rem Consolas, 'Andale Mono', 'Lucida Console', monospace;
  line-height: 1.5;
}

kbd { font-style: italic; }

small, .small {
  font-size: .8rem;
  line-height: 1.875rem;
  margin-bottom: 1.875rem;
}

sub, sup, .sub, .sup {
  font-size: 0.9rem;
  line-height: 1rem;	
}

sub, .sub { vertical-align: sub; }

sup, .sup { vertical-align: super; }

var {
  color: #1111f0;	
}

/* ****************************************************************************
 * Quotes
 * ************************************************************************* */
blockquote	{
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
  color: #666;
  font-style: italic;
  margin: 1.5rem;
  padding: 0 1rem;
}

blockquote cite {
  display: block;
  margin: 0;
  padding: 0;
  text-align: right;
}

cite {
  font-style: italic;
  font-weight: bold;
}

q:before {
  content: "\201C";
  padding-right: 0.1rem;
}

q:after {
  content: "\201D";
  padding-left: 0.1rem;
}


/* ****************************************************************************
 * Lists
 * ************************************************************************* */
li ul, li ol { margin:0; }
ul, ol       { margin: 0 1.5rem 1.5rem 1.5rem; }
ul           { list-style-type: disc; }
ol           { list-style-type: decimal; }
dl			 { margin: 0 0 1.5rem 0; }
dl dt		 { font-weight: bold; }
dd			 { margin-left: 1.5rem;}


/* ****************************************************************************
 * Tables 
 * ************************************************************************* */
table {
  margin-bottom: 1.4rem;
  width: 100%;
  font-size: 1rem;
}

th { font-weight: bold; text-align: center; }

thead th, thead td {
  background: #c3d9ff;
  border-bottom: 1px solid #000;
}

th, td, caption {
  padding: 0.2rem;
}

tr.even td { background: #fff; }

tfoot { font-style: italic; }

caption { background: #eee; }


/* ****************************************************************************
 * Misc Classes
 * ************************************************************************* */

.hide { display: none; }

.quiet { color: #666; }

.loud { color: #000; }

.highlight { background: #ff0; }

.added {
  background: #c7f2c8;
  color: #000;
  padding: 0 0.25rem;
}

.removed {
  background: #ffcccc;
  color: #666;
  padding: 0 0.25rem;
  text-decoration: strikethrough;
}

.caps {
  font-size: 1.2rem;
  font-variant: small-caps;
  font-weight: bold;
  letter-spacing: 0.01rem;
  line-height: 0.01rem;
  padding: 0 0.02rem;
  text-transform: lowercase;
}

.fancy {
  color: #666;
  font-family: "Palatino", "Book Antiqua", Georgia, serif;
  font-style: italic;
  font-weight: normal;
}
